net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 16 Sep 2019 11:31:26 +0000 (14:31 +0300)
committerBen Hutchings <ben@decadent.org.uk>
Tue, 19 Nov 2019 01:43:33 +0000 (01:43 +0000)
commitd1a661f97bf20d5d58398d86577937118d6e185e
treef65d71660428ec68cb63487c7d8a9c4059632e25
parent5dfba97a3ef482c4f97350ecc58e47a49c032db1
net: ena: add intr_moder_rx_interval to struct ena_com_dev and use it

Add intr_moder_rx_interval to struct ena_com_dev and use it as the
location where the interrupt moderation rx interval is saved, instead
of the interrupt moderation table.

This is done as a first step before removing the old interrupt moderation
code.

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/ena
Gbp-Pq: Name 0002-net-ena-add-intr_moder_rx_interval-to-struct-ena_com.patch
drivers/net/ethernet/amazon/ena/ena_com.c
drivers/net/ethernet/amazon/ena/ena_com.h
drivers/net/ethernet/amazon/ena/ena_netdev.c